﻿using Coldairarrow.Entity.Base;
using Coldairarrow.Entity.DTO;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base
{
    public partial interface IBase_UserDepartmentBusiness
    {
        Task<PageResult<Basr_UserDeptDTO>> GetDataListAsync(PageInput<ConditionDTO> input);
         Task<List<Basr_UserDeptDTO>> GetDataListByAsync(string UserId);
        Task<List<Basr_UserDeptDTO>> GetDataListByAsyncDeptid(string Deptid);
        Task<Base_UserDepartment> GetTheDataAsync(string id);
        Task AddDataAsync(List<Base_UserDepartment> data);
        Task UpdateDataAsync(Base_UserDepartment data);
        Task DeleteDataAsync(List<string> ids);
        Task DeleteOtherIdDataAsync(object where);
        Task UpdateCacheAsync(Base_UserDepartmentDTO data);
        
    }
}